package s2elinshu.model;

public class Account2VO {
	private String aid;
	private int balance;
	private double interestRate;
	private String dateCreated;

    public Account2VO(String aid,int balance,double interestRate,String dateCreated){
	this.aid = aid;
	this.balance = balance;
	this.interestRate = interestRate;
	this.dateCreated = dateCreated;
    }
	
	public String getAid() {return aid;}
	public void setAid(String aid) {this.aid = aid;}
	public int getBalance() {return balance;}
	public void setBalance(int balance) {this.balance = balance;}
	public double getInterestRate() {return interestRate;}
	public void setInterestRate(double interestRate) {this.interestRate = interestRate;}
	public String getDateCreated() {return dateCreated;}
	public void setDateCreated(String dateCreated) {this.dateCreated = dateCreated;}
	


	@Override
	public String toString() {
		String result = "";
		result += "계좌번호 : " + aid + "통장잔고 : " + balance + "연이율" + interestRate+"통장 개설일" + dateCreated;
		return  result;
	}

	public void setMonthlyInterestRate(double mir) {
		// TODO Auto-generated method stub
		
	}




}
